//
//  SettingsTableViewCell.m
//  BaChat
//
//  Created by 刘洋 on 16/6/27.
//  Copyright © 2016年 刘洋. All rights reserved.
//

#import "SettingsTableViewCell.h"

@implementation SettingsTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubviews];
    }
    return self;
    
    
}

-(void)createSubviews{
  /*
    self.titleLabel = [[BaseLabel alloc]init];
    self.titleLabel.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.titleLabel];
    [_titleLabel release];
    
  */
    
    self.lineView = [[UIView alloc]init];
    self.lineView.backgroundColor = RGBAColor(220, 220, 220);
    [self.contentView addSubview:self.lineView];
    [_lineView release];

    
}

-(void)layoutSubviews{
    
    [super layoutSubviews];
    
    self.lineView.frame = CGRectMake(10, self.contentView.frame.size.height, ROOTWIDTH - 20, 1);
    
}



@end
